//==============================================================================
// Viking hall_anim.txt
//==============================================================================
// by Jahvansi (Janis)
//==============================================================================
import Large_Norse_Shield_anim.txt
import Construction_defines_anim.txt

//==============================================================================
define Spear
{
   SetSelector
   {      
     TechLogic none/Copper Weapons/Bronze Weapons/Iron Weapons
     set hotspot
     {
        version
        {
           Visual Attachments A Spear Standard
        }
     }
     set hotspot
     {
        version
        {
           Visual Attachments A Spear Copper
        }
     }
     set hotspot
     {
        version
        {
           //Visual Attachments A Spear Bronze
		Visual Attachments A Spear Iron
        }
     }
     set hotspot
     {
        version
        {
           Visual Attachments A Spear Iron
		ReplaceTexture Attachments A Spear Iron/Bondi Spear Champion
        }
     }
  }
}
//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define VINEB
{
   set hotspot
   {
      version
      {
         Visual Building VineB
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
define Shield
{
   TechLogic Copper shields/Bronze shields/Iron shields
   set hotspot
   {
      version
      {
         Visual Attachments G Shield wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments G Shield iron
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments G Shield bronze
      }
   }
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
anim idle
{
//---------------------------------Norse------------------------------------------//
      //---------------------------Age 2--------------------------------//
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building N VikinghallAge2
				  connect LEFTLEG Spear HOTSPOT
				  connect LEFTEAR Spear HOTSPOT
				  connect RIGHTLEG Spear HOTSPOT
				  connect RIGHTEAR Spear HOTSPOT
				connect FRONTABDOMEN LargeNorseShield HOTSPOT
				connect BACKABDOMEN LargeNorseShield HOTSPOT
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
              Visual Building N Vikinghall Construction
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
      }
      //---------------------------Age 3--------------------------------//
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
              Visual Building N VikinghallAge3
				  connect LEFTLEG Spear HOTSPOT
				  connect LEFTEAR Spear HOTSPOT
				  connect RIGHTLEG Spear HOTSPOT
				  connect RIGHTEAR Spear HOTSPOT
				connect FRONTABDOMEN LargeNorseShield HOTSPOT
				connect BACKABDOMEN LargeNorseShield HOTSPOT
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building N Vikinghall Construction
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
      //---------------------------Age 4--------------------------------//
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
              Visual Building N VikinghallAge4
				  connect LEFTLEG Spear HOTSPOT
				  connect LEFTEAR Spear HOTSPOT
				  connect RIGHTLEG Spear HOTSPOT
				  connect RIGHTEAR Spear HOTSPOT
				connect FRONTABDOMEN LargeNorseShield HOTSPOT
				connect BACKABDOMEN LargeNorseShield HOTSPOT
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building N Vikinghall Construction
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
   }
}


//==============================================================================
anim Death
{
//---------------------------------Norse------------------------------------------//
      //---------------------------Age 2--------------------------------//
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building N VikinghallAge2 Death
			connect Smoke0 Dust hotspot
			connect Smoke1 Dust hotspot
			connect Smoke2 Dust hotspot
			connect Smoke3 Dust hotspot
			connect Smoke4 Dust hotspot
			connect Smoke5 Dust hotspot
			connect Smoke6 Dust hotspot
			connect Smoke7 Dust hotspot         
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
              Visual Building N Vikinghall Construction
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
      //---------------------------Age 3--------------------------------//
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building N VikinghallAge3 Death
			connect Smoke0 Dust hotspot
			connect Smoke1 Dust hotspot
			connect Smoke2 Dust hotspot
			connect Smoke3 Dust hotspot
			connect Smoke4 Dust hotspot
			connect Smoke5 Dust hotspot
			connect Smoke6 Dust hotspot
			connect Smoke7 Dust hotspot            
            }
         }
         set hotspot
         {
            version
            {
              Visual Building Construction Large A
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building N Vikinghall Construction
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
      //---------------------------Age 4--------------------------------//
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building N VikinghallAge4 Death
			connect Smoke0 Dust hotspot
			connect Smoke1 Dust hotspot
			connect Smoke2 Dust hotspot
			connect Smoke3 Dust hotspot
			connect Smoke4 Dust hotspot
			connect Smoke5 Dust hotspot
			connect Smoke6 Dust hotspot
			connect Smoke7 Dust hotspot         
            }
         }
         set hotspot
         {
            version
            {
              Visual Building Construction Large A
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
              Visual Building Construction Large B
						connect attachpoint G_Long_Brick hotspot
						connect face G_Long_Brick hotspot
						connect chin G_Medium_Brick hotspot
						connect leftfoot G_Medium_Brick hotspot
						connect lefthand G_Small_Brick hotspot
						connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building N Vikinghall Construction
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
   }
}